package com.mall.service;

import java.util.List;
import java.util.Set;

import com.mall.common.ServerResponse;
import com.mall.pojo.MmallCategory;

public interface ICategoryService {

	ServerResponse<String> addCategory(String categoryName,Integer parentId);

	ServerResponse<String> updateCategory(String categoryName, Integer categoryId);

	ServerResponse<List<MmallCategory>> getCategory(Integer categoryId);

	ServerResponse<List<Integer>> getDeepCategory(Integer categoryId);
 
   
} 
